Skip to content

Add "Choosing a collection" section to README - #68

Merged
marius-bughiu merged 1 commit into
mainfrom
docs/choosing-a-collection
May 3, 2026
Merged

Add "Choosing a collection" section to README#68
marius-bughiu merged 1 commit into
mainfrom
docs/choosing-a-collection

Conversation

@marius-bughiu

Copy link
Copy Markdown
Owner

Summary

  • Adds a new Choosing a collection section to README.md, between Quick start and Benchmarks. It contains a decision table mapping common workloads (int-keyed, long-keyed, Guid / string / other-keyed dictionaries, the two set shapes) onto the right Celerity type, a short note on picking a hasher (deferring to the existing matrix in docs/api/hashing.md), and a candid list of cases where Celerity is not the right answer today: concurrent access, mutable IDictionary<,> consumers, and FrozenDictionary-style build-once string-keyed lookups (the Celerity equivalent is on the 1.2.0 roadmap, #62).
  • Adds a corresponding [Unreleased] entry to CHANGELOG.md.

This implements the "Document when to use which collection" sub-task from issue #15. Issue #15 has several other sub-tasks still open (perf-tuning guide, migration guide, troubleshooting, FAQ), so the issue itself stays open.

Doc-only change — no source under src/Celerity/ was touched.

Test plan

  • cd src && dotnet build — 0 errors (warnings are pre-existing xUnit lint nits, unchanged by this PR).
  • Render the README on GitHub and confirm the new table sits cleanly between Quick start and Benchmarks.
  • Skim the section as a first-time reader and confirm the workload-to-type mapping reads as expected.

Adds a decision table mapping common workloads onto the right Celerity
collection, a short note on hasher selection, and an honest list of
cases where Celerity is not the right answer today (concurrent access,
mutable IDictionary<,> consumers, FrozenDictionary-style build-once
lookups). Implements the "Document when to use which collection"
sub-task from issue #15.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@marius-bughiu
marius-bughiu merged commit 2aaa54b into main May 3, 2026
3 checks passed
@marius-bughiu
marius-bughiu deleted the docs/choosing-a-collection branch July 24, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant